#ifndef PROCESSING_H
#define PROCESSING_H

#include <QWidget>

#include <QPixmap>
//#include <opencv4/opencv2/core.hpp>
//#include <opencv4/opencv2/imgcodecs.hpp>
//#include <opencv4/opencv2/imgproc.hpp>
//#include <opencv2/highgui.hpp>
//#include <opencv2/opencv.hpp>
//#include <opencv2/core/mat.hpp>
#include <QFileInfo>

struct CutBox
{
    int x1;
    int y1;
    int x2;
    int y2;
    CutBox(int a=0, int b=0, int c=0, int d=0):x1(a),y1(b),x2(c),y2(d){}
};


class processing
{
public:
    processing();


    static const int PICTURE_DEEPEN_KEY=50;                                         //图片加深值

    static QImage pictureCutDeepen(const QImage &img, const QSize &imageSize);      //裁剪-图片加深

    static inline int minNumIsZero(const int &num1, const int &num2);


private:


};

#endif // PROCESSING_H
